package com.warren;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

import javax.swing.*;

@SpringBootApplication
//开启异步功能
@EnableAsync
//开启定时任务
@EnableScheduling
//@MapperScan("com.warren.dao")
@MapperScan({"com.warren.dao", "com.warren.dao.py"})
public class HelloWorldApplication {

	public static void main(String[] args) {
		SpringApplication.run(HelloWorldApplication.class, args);
	}

}
